package com.miao.im.support.util;

import com.alibaba.fastjson.JSON;
import com.miao.im.support.FastJsonConverter;

/**
 * @Auther: miaoguoxin
 * @Date: 2021/4/25 10:05
 * @Description:
 */
public class JsonUtil {

    /**
    *  转换为json字符串
    * @author miaoguoxin
    * @date 2021/4/25
    */
    public static String toJSONStr(Object obj){
        return JSON.toJSONString(obj, FastJsonConverter.SERIALIZER_FEATURES);
    }

}
